<!doctype html>
<html lang="zh-hans">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="IE=edge">

<!-- css -->
<link rel="stylesheet" href='<?=base_url().'resource/lib/bootstrap/css/bootstrap.min.css'?>'>

<!-- js -->
<script src='<?=base_url().'resource/lib/bootstrap/jquery-2.1.1.min.js'?>'></script>
<script src='<?=base_url().'resource/lib/bootstrap/js/bootstrap.min.js'?>'></script>

<title><?=$title;?></title>

<script>


/* 缓存测试 */
// window.onload = function() { 
// 	var msg = sessionStorage.getItem("state"); 
// 	alert("测试用户状态为"+msg);
// }

function tijiao(){ 
    document.form1.submit();
}     
    
</script>  
</head>
<body>
<div class="container" >
<div class="row">



<!-- 导航按钮 -->
<ul class="nav nav-pills">
  <li role="presentation"><a href="#">返回首页</a></li>
  <!-- 
  <li role="presentation" class="active"><a href="#">开始注册</a></li>-->
</ul>



<!-- 面板 -->
<div class="panel panel-default">
<div class="panel-heading"><p class="text-info">
    <span class="glyphicon glyphicon-star" aria-hidden="true"></span> 注册经纪人(必填)</p></div>
<div class="panel-body">
<!-- 面板内容 start -->

<form name="form1" action="<?=base_url().'/index.php/user_control/add'?>" method="post">
<!-- 表单START -->
<div  class="form-group">

<div class="_hide">
openId,flag,id,state
<input id="openId" name="openId" type="text"  placeholder="openId"  value="<?=isset($openId)?$openId:'';?>">
<input id="flag" name="flag" type="text"   placeholder="flag" value="<?=$flag;?>" >
<input id="id"  name="id" type="text"  placeholder="id"  value="<?=isset($user['id'])?$user['id']:0;?>">
<input id="state" name="state" type="text"  placeholder="state"  value="<?=isset($user['state'])?$user['state']:0;?>">
</div>


<div class="input-group">
<div class="input-group-addon"><span class="glyphicon glyphicon-user" aria-hidden="true"></span></div>
<input name="name" type="text" class="form-control" id="exampleInputAmount" placeholder="姓名">
<div class="input-group-addon">
<span class="glyphicon glyphicon-remove-sign" aria-hidden="true"></span> 
<span class="glyphicon glyphicon-ok-sign" aria-hidden="true"></span>     
</div></div><!-- input-group-addon --><!-- input-group -->
   
    
<div class="input-group">
<div class="input-group-addon"><span class="glyphicon glyphicon-earphone" aria-hidden="true"></span></div>
<input name="phone" type="text" class="form-control" id="exampleInputAmount" placeholder="电话">
<div class="input-group-addon">
<span class="glyphicon glyphicon-plus-sign" aria-hidden="true"></span> 
<span class="glyphicon glyphicon-minus-sign" aria-hidden="true"></span>       
</div><!-- input-group-addon -->
</div><!-- input-group -->

<div class="input-group">
<div class="input-group-addon"><span class="glyphicon glyphicon-credit-card" aria-hidden="true"></span></div>
<input name="idCard" type="text" class="form-control" id="exampleInputAmount" placeholder="身份证号">
<div class="input-group-addon">
<span class="glyphicon glyphicon-plus-sign" aria-hidden="true"></span> 
<span class="glyphicon glyphicon-minus-sign" aria-hidden="true"></span>       
</div><!-- input-group-addon -->
</div><!-- input-group -->

<div class="input-group">
<div class="input-group-addon">省 <span class="glyphicon glyphicon-chevron-down" aria-hidden="true"></span></div>
<select class="form-control" id="S1" name="provinceId" >
<option value="510000">四川</option>
</select>
<div class="input-group-addon">
<span class="glyphicon glyphicon-remove-sign" aria-hidden="true"></span> 
<span class="glyphicon glyphicon-ok-sign" aria-hidden="true"></span>       
</div><!-- input-group-addon -->
</div><!-- input-group -->

<div class="input-group">
<div class="input-group-addon">市 <span class="glyphicon glyphicon-chevron-down" aria-hidden="true"></span></div>
<select class="form-control" id="S2" name="cityId">
<option value="510100">成都</option>
</select>
<div class="input-group-addon">
<span class="glyphicon glyphicon-remove-sign" aria-hidden="true"></span> 
<span class="glyphicon glyphicon-ok-sign" aria-hidden="true"></span>       
</div><!-- input-group-addon -->
</div><!-- input-group -->

<div class="input-group">
<div class="input-group-addon">区 <span class="glyphicon glyphicon-chevron-down" aria-hidden="true"></span></div>
<select class="form-control" id="S3" name="areaId">
<option value="510101">成华区</option>
</select>
<div class="input-group-addon">
<span class="glyphicon glyphicon-remove-sign" aria-hidden="true"></span> 
<span class="glyphicon glyphicon-ok-sign" aria-hidden="true"></span>       
</div><!-- input-group-addon -->
</div><!-- input-group -->

<!--
<div class="input-group">
<div class="input-group-addon"><span class="glyphicon glyphicon-pencil" aria-hidden="true"></span></div>
<textarea class="form-control" rows="3" cols="10" name="memo" placeholder="备注"></textarea>

<div class="input-group-addon">
<span class="glyphicon glyphicon-remove-sign" aria-hidden="true"></span> 
<span class="glyphicon glyphicon-ok-sign" aria-hidden="true"></span>       
</div>
</div>
-->

</div><!-- form-group -->   
<!-- 表单END -->
</form>

<!-- 面板内容  end  -->

<div class="panel-footer">
    <div class="row">
        <div class="col-xs-6"></div>
        <div class="col-xs-6"><button type="button" class="btn btn-warning" onClick="tijiao()">
            下一步 <span class="glyphicon glyphicon-arrow-right" aria-hidden="true"></span></button>
        </div>
    </div>
</div>
</div>
</div>


</div>
</div>
</body>
</html>